use strlen instead of imaginary function len

lol