fixing timeout