[flex & vimfiles] fixed the resources sync.