Fix some assigning properties of null
Fix parse errors and batchat arty errors