fixed pin problem