see https://github.com/gbiggs/rtshell/issues/14#issuecomment-21905960

pull request for https://github.com/gbiggs/rtshell/issues/14#issuecomment-21905960