fixed resolution errors