fix some stupidity