- fixed empty prior weights bug