fix the issue with formatting code