work-around for resetting pointer