fix relative url issue (not support frameset now)