added b2g specific modifications