removes options from db connect