remove debug logic