Problem to write "a" or "m" on inputs