Prevent some crash on nil string