fixed regression in previous commit