fix bugs in shop view