k_P Error Fixed and Error Log