bug fixed for issue 141