clearup codes for debug