image not committed correctly