fix profile edit, fix #178