fixed a typo in loadComplete call