fix reading assignment