fixing the extraspacing issue to resolve #13