fix object type checking

test plan: make && node parsetest.js
disable type checking for table accesses