Fixed for to accept possibly empty exp correctly