fix ram call