[fix] [minor] fixes in old patch
Merge branch 'master' of github.com:webnotes/erpnext