fixed issues with compview and devview
fixed issues with devview