fixed bug about floating nuclei