added zero init at reset for RAMfifo