pointer correction