fixed many vars for relative