schema inconsistant issue fixed