refactored quotes aligment