Fix for #42

Signed-off-by: Shivam Dixit <shivamd001@gmail.com>