fix for X format