debug for malloc