interval improved
fixing problems