fixed pin error