fixing weird issue with setting pre callbacks, if done wrong we get 404