Fix the does not recognize selector error.