code generation bug fixed (annotation was missing)