fixed bug in setup script