add location endings for all code checks