there is a small memory leak somewhere and I cant find it.