fixed bug for epub export #755 ; also better metadata title