fixed reading in of detector properties