bugfix #267