fixed bug in show page