ajax 5 sec
fix error for null last point in session