fixed resolution problem