fixing stupid bug. bin is an integer