compile warning fixed