Bug fix of wife PDF