code cleanup

delete few unwanted lines of code