bugfix in pause command