Fixes selector bug