fixed some errors with std_logic_vector length not matching up