fixed bug with disapearing images