Fixed Git Issue 38, unable to change module type