change textfield to CharField