fix broken defined