added bugfix #42