fixed the copy paste bug in view configs