fix building warning