fixed setup bug