[refactoring] removed unused lines of codes