whote space fixes and clean up of request_count