Fixed bug with reading steps
updated