fix the picture size problem