fixed bug with context menu