fixed bugs in wordpress generator and medium