fix load() behaviour