fix warnings in declarations
extract symbol names