fixed reform code