Revert "removing this line beause it constnatly throws the error"

This reverts commit d6c2b7cfe995735468ff6e87bb045962deebbbef.