forgot to remove duplicated code

Signed-off-by: Steven "NemesisRE" Koeberich <nemesissre@gmail.com>