Fixed output bit bug.