changed some stuff for memory warnings