more fixes. start supporting memory interface