fixed bugs in show