[minor] change showDetails parameters to start from 0