fix a dnd bug in options.coffee