bug in package loader