got the file working again

It was something to do with url being called in SpaModel