Fixed a compile warning