cleaned messy debug prints