strlen -> length

fixes: `WARNING: strlen is deprecated, use length instead.`