Fixed improper assignment