clean up meteor conditional hook