fix echo bug for rvm