warnings fixes closes #101