fixed api directory location in settings