fixes for step hooks