Fixed a bug where only one block could be referenced