cancelable (recursive loop) bug fix
removal of hardcoded values