Adding length check on splitedkey