fixing warning in old post