Moderate earthquake hits Indonesia