perfect the img