fixing 500 paths