fixed 'version button shows in edit mode'