Fix for error when getting attribute "points" 🔨

bug #239