Fixed Memory Leak by disposing properly