Fix cast by moving them into the parentheses