Fix for Brakeman error