correct functions by and bz