fix "bin" field