fixed image issues from transfering from rails