fix module
fix bug sql
fix bug module
fix allowed types