remove BS legacy function