Error when clicking on Profile with no profile set.

Fixed