fix type literals and array literal