fix for assertIsPost