bug fix and resize form log