bug fixes for picea, succesfully rin evalaution