various bugs

log height
load function bug