weighted-z + study bugfix