Profile edit

Bug fix.