fix calling generate:schema when schema is empty
fix throwing exception when module has syntax error
remove deprecated file