Fix a few small buggies.

Signed-off-by: Se7enChat <se7enchat@zoho.com>