Fix the areatrigger table not being filled and also fix the types related to the areatriggers