fixed profilepic function and string handler