correcting path variable for public loader root