resourceloader improvments