bug fixed with taken time