check for abs path on GD_DIR