dont query if there is no after