Fix compilation issue on 1.0 thanks Sean

Fix compilation issue on 1.0, due to typo mistake, thanks Sean