removed useless imports

Signed-off-by: ThePooN <thepoon@cartooncraft.fr>
made modifications based on Tillerino's suggestions

Signed-off-by: ThePooN <thepoon@cartooncraft.fr>