Mistake in the mdb code