fix pkg option from installed to latest