error message when intervals is not an array