fix bug with a in mas entering flux()