fixed pointer update in master