remove dead code in onboard view controller