fix for commit f7c24973040af94e792b27f87a3d1d6a79139c10