fixed locals, moved to root