updated thin version to work with thin 1.5