fixed nsnumber conversion