fix web config erb issues