fix issue with respondsToSelector