Fix issue with invalid this context
Fix issue with invalid source saving for version and posts