fix two case sensitive problems