added more code genaration, added ignore space at BOF