check generator fix