Fix problem with gem