fixed bug (program crashed when no face detected)