fixed dispose()