fixed paths to profile images and temp pictures