clean up num and bool types