change place of error and router serviceProvider and remove them from config/app