poor fix for importing grid properly