Fixes controller generator closes redneckbeard/gadget#16