fixes an issue introduced with #1449