fix setup bug