Fixed problem with block