fix bugs at admin