Trying to remove Application error