fixing loader issue