fixed bugs and removed bin