fix bugs in supply page