Mass variance parameters from database
Minor fix