prepush hook