okay, now it CLOSES, but it also spits out an error message - not desireable