failed attempt to make loading message disapear when query is finished