Fix undefined steps