fixed staging errors