remove empty name keys