fixing some miss defines