fixed bug with view show