debug formatting