bug fix for cross-page css