fix for generate secondary strucutre