Formatting and debug clear