Fix error on entity table name