remove rails4 plugin && cddir func