fixed migrations and actiontypes