fix for 0ms auto play and linting issues