bug fix for tryPerformSelector