Revert "fixed #240"

This reverts commit 757e04480639d6792d023c6e48c170ea64a3fff1.