fixed butterfly working directory