fixed bug when no points or when text points + refresh