profile pic upload: fixed bug