fix browser rendering issues