fixed issue, where view and edit tabs disappeared.