fixed dart and lua backends