remove a bug in function getrealDEL