Fixing a minor problem with the ram selection