fixed delay bug
Works now