remove dependency on thin