fix html colspan counts
rename css class
prevent error output on empty dir