fixed staging plugin