corrected error on ready and dout signals