cleaning up some errors from loader