Fixed stupid bug due to over exposure to VHDL