fixed fetch error in server example
working on GUI