module functions due to firefox. probalby missing stuff