fixing loader leak