fixed styling and errors