added conversion to stirng of last command