cleaning up views to mimic form order
storing kw variable