Random phase approximation and continuum states