fixes a weird bug created by Cloud9 IDE - it added commit info to the end of file, turning it into an invalid gadget