Check the lenght

Change-Id: I3fc91fadb46b3a8ef0f3a741fa22219333abcdbc