css and compatibility fix