fix depressing pin function cockup