fixed load function, tracks any errors
comments