fix redirect handling
update to v0.2.11