fix config and world access