fixed an error in spec file
added an action if acc is nil