Fix bug in custom options value