fixed defines forward references