fixed bug where options weren't being removed