fixed bug in display view