fixed intervalsystem and added some warnings