fix #1019
another oopsie for #1054