fixed bug which crippled the links in the contextmenu