Fixing invalid use