Bug fix DNE in calcinterval