fix remove stream url prefix when running with application.context

issue #725