Use u_strlen() instead of own variable