Fixed refresh errors

new bugfixing version