function getConfiguration fixed