Fixed profile photo handling.