theme function pickup in custom module
extra error handling