fix for bad selector bug