removes extra )