fixed log mute & unmute
package.json is not always here