Remove unnecessary path statement