Fix rcup hooks