Fixes fatal error in site theme