Fix create folder for non existing module
generate dynamic sun