bugfix for relase