fixed that you can open a profile twice