move dangling parentheses up