Some more updates, clear out meta if nothing is saved.
add a little security.
Cast the location as an array if an empty string.