bug 6331 : linked styles not working.  took a shot at fixing it