Implement error input detection and remove option