fixes for styling on Safari