fixed pin mapping bugs