fix request reading
remove debug statement