bug fixing model load, init GUI