Fix debug bug and old property config