Fixed attribute missing bug when reverse was used in the shell