Fixed runtime error -Justin Ead