fixed with vanilla js