Just two little error fixes