add strlen control for value