Fix access to config