fix crash on empty expression