fixed bugs for nacks