Revert "fix #1315"

This reverts commit 55bfbd710508cfe1d95396b4a86b592be937e1cb.