Loader fix

Removed two errors from Loader