fixed bug in images