some fields not working properly