remove undefined gem