proper implementation for firefoxos