fixed bug in image