removed useless call to strlen