fixed issue with non-zero return values