fix profile bug, fix note menu sql statement