fix bug with make and added blocksFactory