Fix Some Critical Bugs !.

Signed-off-by: Sakretsos <ioannis@tavernarakis.eu>