support version in query. fix relative assets path not work.