updated loader to correct positioning BUG