fixed compilation errors (packages)