Fixed missing argument for replacing multiple spaces in img-check.