corrected the BASE_DIR environ variable