fixed a bug with size being null
close #258
Merge pull request #268 from rhsu/ResourceRetrieverIntegeration

close #258
Merge branch 'master' into MathFactory