Fix errors

Compiler issues bad errors when multiple packages are imported in various position.