bug where loader was using wrong params