fixed speedup on levels; fixes bug where delay could be less than zero