missing audit table and couple of other issues
fixed several notices