small changes to fix xilinx warnings