css formatting
handles bad requests