fixed on stopping server and destroying image box