libexpat fix for grid