fixed suplicate declarations