fixed error in advpng test (doctor cmd)