fix: TypeError