change type to package