Fixed creating grid