exception in atomhandling fix