fixing bug in setup command