Fix addLoader call