check for defined repeat not for <> ''