fixed didSelectRowAtIndexPath method