clean up css, fix safari bug