Fixed bugg for reading of contrasts