fixed issue where loader was not being passed