mod: replace string-ends-with to string-suffix-p