added bgcolor for viewer