removed extra loaderfunc