fixed bad typing