img size bug fix