remove check for masked_input, fixed typo