fixed bug with inverted step bool test