Better protection for inputs chars