fixed mapping override issue when initializing a new database