fixing orm