Fixed issue in parseSelector