remove rails4 incompabilities, temply