improve styling
fix deprecated notice