fix for analyzer warning