support loading nothing
fixed bug in an ugly way
fixed more elegantly