Fixes the positions selection