Fixed duplicate declaration error