fixes composer replace issue