removing empty custom variables