Fixed not editing the correct file