Fix bug #188, eggy hook