Fix newform bug