fixed conversion issues in binary response