fixed small issue with empty selector