fast fixes from BGog42 http://forum.kerbalspaceprogram.com/threads/37707?p=1078813&viewfull=1#post1078813