fixed bug for multiple load calls

loadCount is set to zero on each call