fixed bug in staging.