bugfix #245