fixing loader sample