hopefully fixed pin issue