remove empty entries