refactor: remove unnecesary implicit string type conversion