Fixed the block being activated twice