fix staging from DB
fix staging from DB

jrossyra/adaptivemd,thempel/adaptivemd,markovmodel/adaptivemd,jrossyra/adaptivemd,thempel/adaptivemd,jrossyra/adaptivemd,markovmodel/adaptivemd,thempel/adaptivemd,markovmodel/adaptivemd