remove put into before_init