fix error when executing setup script from subfolder