registertopush fix