fix declaration syntax