handle compile warning