fixing package type