Fix boilerplate bug