fix bug: needed points