checking null case
Context menu on right click added