Restyle inputs, fix missing brackets in code