fixed gen sqlamp for gmt create and modified