bugfix and improvement
add refresh button
bugfix some bug in building system