Fix dimension selection