null pointer protected tea cup service sync on current meta
fixed some programming errors
removed tabs and trailing spaces