Tackling the migrant wave: EU as a source and a manager of crisis