fix pic switch