fixed query should not fetch blank