bug fix and add bin