fixed bug where ls wasnt printing after a command and can ls pwd