fix for post requests