minor improvements, this should improve descent stability