Better mix input detection