fixed issues,now working with Silpa-Flask