Bug with onChange and points fixed