small fixes
started migrating to rebar