fix for undefined val in ifeval