Fixing small compile problems

Fixed the package name not being valid, also fixed wrong type for parameter.