fixes for code climate