Fix moz behaviour