fixed minor points bug