fixed directory location bug... actually this time