fixed code rule