bug with sending data with post method