capitalize component constructor