bugfix for local testing