removing colors
removing doc from cache
adding autoclose