fixed hang forcing to refresh when adding steps into db