Fix notice on empty variable