modify vote code
modify profile code for removed relations
fixed profile code for removed model relationships