fixed issues added delay and a restart for the user