remove spaces so date should show up