Fixed attributes loading bug (true commit)