fix resolution problems