fixed a bug where you could not declare a register without a value