Fix const issue in Maximov's lab