bugfix for setup