remove dev mode logic