fixed schema inconsistency