Remove unneccessary empty strings