fixing the coverage handler