fixed regression from previous commit