remove empty strings from output