Fix locadir copy