change async operations to synchronous in mojito-validate