Fix a bug about handling loader info