Fixes in Ram bar implementation

Change-Id: I88f7c6ae9cf0771fd5ea7ebb78111b580f6bd9f8