bugfix with conf dir