Fixed zero setting function.