Revert "Fixed #1276"

This reverts commit 51e963d02283fe1d645b62d073e2f8138190d7e1.