fix resolution problem