fixed 2 bugs that prevented VideoDevil from running