some modifications for post