remove unnecessary configuration from provider. fix bug in validation process