fix show points bug