views : remove unused and beautify codexx
views : remove unused and beautify code