fixes #16850, thanks for catching my mistake eburgos