fix resolution