code cleanup

Signed-off-by: Nilkamal Weerasinghe <wnilkamal@yahoo.com>