change magic path to Config