fixed coverage code and ignored output directory