bugfix: single space -> NULL; check for 0 with log10