Fixed Final Bugs

Fixed the Range bug and used TempBlock instead of setType