Fixed Code Analysis error