Fixed production issue hook has to be set to true