fix resolution error