make initWithFrame work