fixed a bug with Timed