fixed pencil icon on view mode