fixed #43
bugfix, related to #43