Fix attempt for header already having a parent
Converted to eclipse project