Error handle for css&page error