removing mainOneshot