fix bug in show page