Bugfixes in get_points