results null issue fixed