changed the pin. added a filter