[UAA] fix syntax error inside install hook