fix open url find to rfind