improved logging
don't trust on available library info
fixed potential issue when no cast is available
cast needs to be a list