spaces were causing problems