fixed: database compatibility check