Fixed staging bugs in the develop branch.