changed :scale to :resize_to_fit in generator