fixed reading levels from files