update spec files and fix bugs;