added papaerclip gem. params not working correctly.