fixed cannot find method 'can?' issue