Remove references from main dir