several spyglas fixes