Prevent crash on non-string lines