fix bug introduced in 9ee0cade67ac92c30c11ad773f2e863c60fd1e3d