bugfix #265