change async to false