bugfix in case of long postdata