Removing un needed comment from resize function