removed duplicate path variable