fixed bug in close.. no longer needs to be commented out.