fixed saving j