fixed operations in INTERVAL. more fixes