remove empty selector
fixing check for failures