Fix the composer invalid issue