more fix rails4