Fixed config.hidden

Fixed `config.hidden` that was not working correctly.

See also #206.

@Schoonology please review.