fixed location assignment from message bug