~ got rid of some useless code

Signed-off-by: Imkerix <Imkerixus@gmail.com>