Fixed random crash statement