fixes bugs on item management page and adds features