Minor correction to clean up code