remove debug logic.