Fix to work when it is launched from a top page