Fixed crash in profile fragment