fixed build errors and warnings
fixed softcascade