fixed license agreement code return none