Revert "fix bug #389"

This reverts commit 6d7b53cc94e2e17dd0a662256d10b05304b96a98.