fix declaration redep
remove debug prints
changes to test build