fixes table name in static method issue