post method fix