Fixing autoformat error messages and adding shortcut