move nick ptr detection to fix crash because of invalid pointer
fix crash i tried to fix in last commit, but for realz