fixed a bug where structs was called as bail_pin_s instead of b_pin_s