small fixes, fixed gamma prior