Remove uwanted references