fix composer type from package to lib