fixed regression from 6367e799d5