Fixed crash in practice mode