Are you saying to re-order the functions?
Exactly..Once I've faced with such a problem. And after I replace the regarding functions, it was OK.