BUG FIXES FOR GOD SAKE !

Signed-off-by: MHesham <mhesham.fcis@gmail.com>