fixes #750 revert print_r