fixes for declaration and literalnode converter