fixed table layout and safari's bug