improve the gem file