fix formatting syntax error #2787