fix alternative assignment