correct syntax for remove()