short array syntax fixer

#1751