masterauth fix