Menu hook, was not properly written