fix for remove script