fix getimagesize usage