fixed read classes