remove unused
revert fix for #1275, should be added in a separate branch