fixed deh bug