fix up dev mode and some styles