Protect against empty string