cleared the smell code in views