styling and API fixes