Fixed bugs in the multi resource laoders