Resolve compile warning