fixed bug, resized img