fix a bad cast to Assignment