added error if load doesn't work