Debugging selection error error