more updates to Unicorn

tweeked code for Unicorn gem