buggy fix for removing exisiting empty fields