correct register functions' block parameter