Fixes crash after agreeing to license