small fix on the autopause