Remove characters as per code climate warning