fixed bug introduced by commit 82fe84a9b4da97722c0366468b1ffdb9a7dfeccb

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>