fix AS mistakes