return from interval function when variable is missing