Set prefix to empty string if less then 0 to avoid strange error