trying to get it to work.. given up for now.
bug fixes.