fixed some issues with gem versions