fix grant syntax