Fix for static analyzer