return path fix for vendor edit and vendor user edit