Fixed sample staging bug in develop branch