improve formatting in shell