change declaration for srict mode
tests on publish post