Revert "fixed small bug (compile error)"

This reverts commit de92f1b707b3a2ab4cc92e3d68bc9c013eea9b85.