Fixed creating mesh