fixing core location path